package com.wzd;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ClassName ImServiceApplication
 * @Author lofxve
 * @Date 2021/4/16 10:12
 * @Version 1.0
 */
@EnableFeignClients // 服务调用
@EnableDiscoveryClient // nacos 服务注册
@EnableSwagger2
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) // 排除mysql依赖
public class ImServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ImServiceApplication.class, args);
    }
}
